#!/usr/bin/env python
#
# MORPH_BICKER
#
from Facilitate.bbcwsgitools import EnvironDumper, JSON_Interceptor, CGI_Parser, Functional
from Facilitate.Items import page_render_html

if __name__ == "__main__":
    import cgitb ; cgitb.enable()
    from wsgiref.handlers import CGIHandler

    CGIHandler().run(
        CGI_Parser(
            JSON_Interceptor(
                Functional(page_render_html, style="simple",responsetype="text/html")
            ),
            upload_dir="uploads"
        ),
    )

